package com.hq.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hq.user.entity.SysUser;
import com.hq.user.vo.SaveNewUser;

/**
 * @param
 * @author huqiang
 * @date 2022/2/10 13:46
 * @return
 */
public interface SysUserService extends IService<SysUser> {
    /**
     * 存储用户信息
     *
     * @param saveNewUser
     * @return boolean
     * @author huqiang
     * @date 2022/2/10 11:34
     */
    boolean saveNewUser(SaveNewUser saveNewUser);

    /**
     * 存储用户规则表
     *
     * @param saveNewUser
     * @return
     * @author huqiang
     * @date 2022/2/10 11:35
     */
    void saveSysUserRole(SaveNewUser saveNewUser);
}
